package com.vivien.example.springbootdemo.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderDetail extends Order{
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",locale = "zh",timezone = "GMT+8")
    private Date underwritingDate;
    // 保单类型，个人or企业or其他
    private String channel;
    // 支付方式，年交or月交
    private Integer paymentType;
    // 缴费总时间，月份or年份
    private Integer paymentTime;
    // 保险代理人
    private String agentId;
    // 产品信息
    private Integer productId;
    private String companyName;
    private String category;
    private String coverage;

    private String agentName;
    //    // 生效or失效
//    private Boolean status;
}
